package cn.itcast.Elastic;

import cn.itcast.pojo.Goods;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface GoodsRepository extends ElasticsearchRepository<Goods,Long>{
    List<Goods> findByPriceBetween(Double begin, Double end);

}
